package com.sz.designpattern.create5.absfactory;

import com.sz.designpattern.create5.absfactory.iiterface.IPhoneProduct;
import com.sz.designpattern.create5.absfactory.iiterface.IProductFactory;
import com.sz.designpattern.create5.absfactory.iiterface.IRouterProduct;

public class GoogleFactory implements IProductFactory {
    @Override
    public IPhoneProduct getPhoneProduct() {
        return new GooglePhoneProduct();
    }

    @Override
    public IRouterProduct getRouterProduct() {
        return new GoogleRouterProduct();
    }
}
